package com.gamewithpurpose.dbinterface.POJO;

import java.sql.Timestamp;

import com.gamewithpurpose.utils.GWPUtils;

/*
 * Phrase is a POJO for the phrase table.   
 */
public class Phrase {
	private int id;
	private String phrase;
	private Timestamp timestamp;
	
	public Phrase() {
	}
	
	public Phrase(String phrase) {
		this.phrase = phrase;
		timestamp = GWPUtils.getTimestamp("UTC");
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getPhrase() {
		return phrase;
	}
	
	public void setPhrase(String phrase) {
		this.phrase = phrase;
	}
	
	public Timestamp getTimestamp() {
		return timestamp;
	}
	
	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}
}
